import { post } from '@/utils/request'

/**
 * 试卷列表
 * @param data
 */
export function listPaper(examId, userId) {
  return post('/api/paper/paper/paging', { current: 1, size: 100, params: { examId: examId, userId: userId }})
}

/**
 * 考试截图
 * @param data
 */
export function listCaptures(paperId) {
  return post('/api/paper/capture/list', { paperId: paperId })
}

/**
 * 保存阅卷
 * @param data
 */
export function reviewPaper(data) {
  return post('/api/paper/paper/review-paper', data)
}

